<?php
 Session_Start () ;
 $_SESSION ["repertoire_config"] = "../../include" ; 
 Include ($_SESSION ["repertoire_config"]."/garennes.cfg") ;
 Include ($_SESSION ["repertoire_config"]."/init.php") ;
 Include ("../include/config.inc") ;
 verif_droits ($droit_courant, $_SESSION ["code"]) ;
 
 $resultats = SQL_commande ("SELECT * FROM menus WHERE numero='".$droit_courant."' AND ordre='0'", $id_sql) ;
 $l = SQL_tableau_associatif ($resultats, "") ; 
 Echo "<HTML><HEAD>" ;
 entete_html ("Garennes", "travail", 1) ;
 Echo styles ("none", "none", "none", $l ["lien"], "none") ;
 Echo "</HEAD>" ;
 
 Echo "<BODY BACKGROUND=\"../images/fond.png\" TEXT=\"#000000\" onContextMenu=\"return false\">" ;
 Echo "<CENTER><FONT COLOR=\"#0000FF\">Insertion&nbsp;des&nbsp;&eacute;l&egrave;ves&nbsp;provenant&nbsp;de&nbsp;GEP&nbsp;(1/3)&nbsp;</FONT></CENTER>" ;
 Echo "<TABLE BORDER=\"1\" BGCOLOR=\"".$l ["couleur_fond"]."\" CELLPADDING=\"0\" CELLSPACING=\"0\" ALIGN=\"CENTER\" STYLE=\"border:1px solid #000000;border-collapse:collapse\">" ;
 Echo "<TR><TD>" ;
 Echo "<TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\" WIDTH=\"100%\" STYLE=\"border-collapse:collapse\">" ;
 Echo "<TR><TD ALIGN=CENTER>&nbsp;Bonjour.<BR>&nbsp;Bienvenue&nbsp;sur&nbsp;l'interface&nbsp;d'insertion&nbsp;d'&eacute;l&egrave;ves.&nbsp;</TD></TR>" ;
 Echo "<TR><TD ALIGN=CENTER><BR>&nbsp;Pour&nbsp;utiliser&nbsp;cette&nbsp;interface&nbsp;<BR>&nbsp;il&nbsp;faudra&nbsp;les&nbsp;fichiers&nbsp;suivants:&nbsp;</TD></TR>" ;
 For ($i = 1 ; $i <= $imp_eleves [0] ; $i++)
  {
   If ($imp_eleves [$i]) { Echo "<TR><TD ALIGN=\"CENTER\">&nbsp;".$imp_eleves [$i]."&nbsp;</TD></TR>" ; }
  }
 Echo "<TR><TD>&nbsp;</TD></TR>" ;
 Echo "<TR><TD ALIGN=\"RIGHT\">&nbsp;<A HREF=\"./imp_eleves_2.php\">&nbsp;SUIVANT-->&nbsp;</A>&nbsp;</TD></TR>" ;
 Echo "</TABLE></TD></TR></TABLE>" ;
 Echo "</BODY></HTML>" ;
?>